package cn.getech.data.development.mapper;

import cn.getech.data.development.entity.JobStaticDay;
import cn.getech.data.development.model.dto.JobRunTOPDto;
import cn.getech.data.development.model.qo.CMClusterSearchTimeQO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JobStaticDayMapper extends BaseMapper<JobStaticDay> {
    List<JobRunTOPDto> runFailNumTop(@Param("cmClusterSearchTimeQO") CMClusterSearchTimeQO cmClusterSearchTimeQO);
    void insertBatch(@Param("jobStaticDays") List<JobStaticDay> jobStaticDays);
}
